package com.yf.notify.modules.email.service;


import com.yf.base.api.exception.ServiceException;

import java.util.LinkedHashMap;

/**
 * 短信服务类
 * @author bool
 * @date 2020-02-17 09:43
 */
public interface EmailService {

    /**
     * 发送邮件
     * @param subject
     * @param emails
     * @param body
     * @return
     */
    boolean sendMail(String subject, String[] emails, String body, String templateId, LinkedHashMap<String,String> params) throws ServiceException;
}
